package com.hd.openapi.dao;

import com.hd.openapi.common.ResponseResult;
import com.hd.openapi.entity.ApiMapping;
import org.apache.ibatis.annotations.Param;

import javax.naming.Name;
import javax.swing.plaf.nimbus.State;
import java.util.List;

public interface ApiMappingMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ApiMapping record);

    int insertSelective(ApiMapping record);

    ApiMapping selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ApiMapping record);

    int updateByPrimaryKey(ApiMapping record);

    List<ApiMapping> getalldata(@Param ("name") String gatewayApiName,@Param ("state") String state);

    ResponseResult deldata(Integer[] ids);
}